package com.master_jpeg.trasformation.zoom;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

/**
 * Created by ivsh0613 on 20.02.14.
 */
public abstract class JZoom implements Zoomed{

    private BufferedImage image;
    private double zoom = 1.00;
    private File outFile;


    public int thumbWidth;
    public int thumbHeight;
    public int imageType;


    abstract public void zoom() throws IOException;

    public BufferedImage getImage() {
        return image;
    }

    public void setImage(BufferedImage image) {
        this.image = image;
    }

    public double getZoom() {
        return zoom;
    }

    public void setZoom(double zoom) {
        this.zoom = zoom;
    }

    public File getOutFile() {
        return outFile;
    }

    public void setOutFile(File outFile) {
        this.outFile = outFile;
    }
}
